package cupk.abner.ConcreteComponent;

import cupk.abner.Component;
import cupk.abner.Mediator;

public class List extends Component {
    public void select(){
        System.out.println("列表框选中项");
        changed();
    }
    @Override
    public void setMediator(Mediator mediator) {
        this.mediator = mediator;
    }

    @Override
    public void changed() {
    }

    @Override
    public void update() {
        System.out.println("列表框更新");
    }
}
